import {Module} from "@nestjs/common";
import {TypeOrmModule} from "@nestjs/typeorm";
import {StaffEntity} from "~/modules/consult/staff/staff.entity";
import {StaffService} from "~/modules/consult/staff/staff.service";
import {UploadService} from "~/modules/tools/upload/upload.service";
import {StorageModule} from "~/modules/tools/storage/storage.module";
import {StaffController} from "~/modules/consult/staff/staff.controller";
import {StaffTagEntity} from "~/modules/consult/tag/tag.entity";
import { AliyunOssModule } from "~/shared/aliyun-oss/aliyun-oss.module";

@Module({
  imports: [
    TypeOrmModule.forFeature([StaffEntity, StaffTagEntity]),
    StorageModule,
		AliyunOssModule
  ],
  controllers: [StaffController],
  providers: [StaffService, UploadService],
  exports: [TypeOrmModule, StaffService]
})
export class StaffModule{}
